package me.flyray.bsin.server.domain._gen;

import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;

import java.io.Serializable;

import me.flyray.bsin.server.domain.SysMenu;

// tell cpd to start ignoring code - CPD-OFF
/**
 *  Sysmenu: sys_menu
 */
@SuppressWarnings({"PMD"})
public class _SysMenu implements Serializable{
    
    /* 菜单id: MENU_ID VARCHAR */
    public static final String PROP_NAME_menuId = "menuId";
    public static final int PROP_ID_menuId = 1;
    
    /* 菜单编号: MENU_CODE VARCHAR */
    public static final String PROP_NAME_menuCode = "menuCode";
    public static final int PROP_ID_menuCode = 2;
    
    /* 菜单名称: MENU_NAME VARCHAR */
    public static final String PROP_NAME_menuName = "menuName";
    public static final int PROP_ID_menuName = 3;
    
    /* 菜单权限标识: PERMISSION VARCHAR */
    public static final String PROP_NAME_permission = "permission";
    public static final int PROP_ID_permission = 4;
    
    /* 应用id: APP_ID VARCHAR */
    public static final String PROP_NAME_appId = "appId";
    public static final int PROP_ID_appId = 5;
    
    /* 前端URL: PATH VARCHAR */
    public static final String PROP_NAME_path = "path";
    public static final int PROP_ID_path = 6;
    
    /* 父菜单编号(默认为-1): PARENT_ID VARCHAR */
    public static final String PROP_NAME_parentId = "parentId";
    public static final int PROP_ID_parentId = 7;
    
    /* 菜单图标: ICON VARCHAR */
    public static final String PROP_NAME_icon = "icon";
    public static final int PROP_ID_icon = 8;
    
    /* 排序: SORT INTEGER */
    public static final String PROP_NAME_sort = "sort";
    public static final int PROP_ID_sort = 9;
    
    /* 菜单描述: REMARK VARCHAR */
    public static final String PROP_NAME_remark = "remark";
    public static final int PROP_ID_remark = 10;
    
    /* 菜单状态 0、开启 1、禁用: STATUS INTEGER */
    public static final String PROP_NAME_status = "status";
    public static final int PROP_ID_status = 11;
    
    /* 菜单类型 0、主菜单 1、菜单 2、按钮 99、模板菜单: TYPE INTEGER */
    public static final String PROP_NAME_type = "type";
    public static final int PROP_ID_type = 12;
    
    /* 创建人: CREATE_BY VARCHAR */
    public static final String PROP_NAME_createBy = "createBy";
    public static final int PROP_ID_createBy = 13;
    
    /* 创建时间: CREATE_TIME DATETIME */
    public static final String PROP_NAME_createTime = "createTime";
    public static final int PROP_ID_createTime = 14;
    
    /* 修改人: UPDATE_BY VARCHAR */
    public static final String PROP_NAME_updateBy = "updateBy";
    public static final int PROP_ID_updateBy = 15;
    
    /* 修改时间: UPDATE_TIME DATETIME */
    public static final String PROP_NAME_updateTime = "updateTime";
    public static final int PROP_ID_updateTime = 16;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG INTEGER */
    public static final String PROP_NAME_delFlag = "delFlag";
    public static final int PROP_ID_delFlag = 17;
    

    private static int _PROP_ID_BOUND = 18;

    

    public static final List<String> PK_PROP_NAMES = Arrays.asList(PROP_NAME_menuId);
    public static final int[] PK_PROP_IDS = new int[]{PROP_ID_menuId};

    private static final String[] PROP_ID_TO_NAME = new String[18];
    private static final Map<String,Integer> PROP_NAME_TO_ID = new HashMap<>();
    static{
      
          PROP_ID_TO_NAME[PROP_ID_menuId] = PROP_NAME_menuId;
          PROP_NAME_TO_ID.put(PROP_NAME_menuId, PROP_ID_menuId);
      
          PROP_ID_TO_NAME[PROP_ID_menuCode] = PROP_NAME_menuCode;
          PROP_NAME_TO_ID.put(PROP_NAME_menuCode, PROP_ID_menuCode);
      
          PROP_ID_TO_NAME[PROP_ID_menuName] = PROP_NAME_menuName;
          PROP_NAME_TO_ID.put(PROP_NAME_menuName, PROP_ID_menuName);
      
          PROP_ID_TO_NAME[PROP_ID_permission] = PROP_NAME_permission;
          PROP_NAME_TO_ID.put(PROP_NAME_permission, PROP_ID_permission);
      
          PROP_ID_TO_NAME[PROP_ID_appId] = PROP_NAME_appId;
          PROP_NAME_TO_ID.put(PROP_NAME_appId, PROP_ID_appId);
      
          PROP_ID_TO_NAME[PROP_ID_path] = PROP_NAME_path;
          PROP_NAME_TO_ID.put(PROP_NAME_path, PROP_ID_path);
      
          PROP_ID_TO_NAME[PROP_ID_parentId] = PROP_NAME_parentId;
          PROP_NAME_TO_ID.put(PROP_NAME_parentId, PROP_ID_parentId);
      
          PROP_ID_TO_NAME[PROP_ID_icon] = PROP_NAME_icon;
          PROP_NAME_TO_ID.put(PROP_NAME_icon, PROP_ID_icon);
      
          PROP_ID_TO_NAME[PROP_ID_sort] = PROP_NAME_sort;
          PROP_NAME_TO_ID.put(PROP_NAME_sort, PROP_ID_sort);
      
          PROP_ID_TO_NAME[PROP_ID_remark] = PROP_NAME_remark;
          PROP_NAME_TO_ID.put(PROP_NAME_remark, PROP_ID_remark);
      
          PROP_ID_TO_NAME[PROP_ID_status] = PROP_NAME_status;
          PROP_NAME_TO_ID.put(PROP_NAME_status, PROP_ID_status);
      
          PROP_ID_TO_NAME[PROP_ID_type] = PROP_NAME_type;
          PROP_NAME_TO_ID.put(PROP_NAME_type, PROP_ID_type);
      
          PROP_ID_TO_NAME[PROP_ID_createBy] = PROP_NAME_createBy;
          PROP_NAME_TO_ID.put(PROP_NAME_createBy, PROP_ID_createBy);
      
          PROP_ID_TO_NAME[PROP_ID_createTime] = PROP_NAME_createTime;
          PROP_NAME_TO_ID.put(PROP_NAME_createTime, PROP_ID_createTime);
      
          PROP_ID_TO_NAME[PROP_ID_updateBy] = PROP_NAME_updateBy;
          PROP_NAME_TO_ID.put(PROP_NAME_updateBy, PROP_ID_updateBy);
      
          PROP_ID_TO_NAME[PROP_ID_updateTime] = PROP_NAME_updateTime;
          PROP_NAME_TO_ID.put(PROP_NAME_updateTime, PROP_ID_updateTime);
      
          PROP_ID_TO_NAME[PROP_ID_delFlag] = PROP_NAME_delFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_delFlag, PROP_ID_delFlag);
      
    }

    
    /* 菜单id: MENU_ID */
    private java.lang.String _menuId;
    
    /* 菜单编号: MENU_CODE */
    private java.lang.String _menuCode;
    
    /* 菜单名称: MENU_NAME */
    private java.lang.String _menuName;
    
    /* 菜单权限标识: PERMISSION */
    private java.lang.String _permission;
    
    /* 应用id: APP_ID */
    private java.lang.String _appId;
    
    /* 前端URL: PATH */
    private java.lang.String _path;
    
    /* 父菜单编号(默认为-1): PARENT_ID */
    private java.lang.String _parentId;
    
    /* 菜单图标: ICON */
    private java.lang.String _icon;
    
    /* 排序: SORT */
    private java.lang.Integer _sort;
    
    /* 菜单描述: REMARK */
    private java.lang.String _remark;
    
    /* 菜单状态 0、开启 1、禁用: STATUS */
    private java.lang.Integer _status;
    
    /* 菜单类型 0、主菜单 1、菜单 2、按钮 99、模板菜单: TYPE */
    private java.lang.Integer _type;
    
    /* 创建人: CREATE_BY */
    private java.lang.String _createBy;
    
    /* 创建时间: CREATE_TIME */
    private java.time.LocalDateTime _createTime;
    
    /* 修改人: UPDATE_BY */
    private java.lang.String _updateBy;
    
    /* 修改时间: UPDATE_TIME */
    private java.time.LocalDateTime _updateTime;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG */
    private java.lang.Integer _delFlag;
    

    public _SysMenu(){
    }

    protected SysMenu newInstance(){
       return new SysMenu();
    }

    public String orm_entityName() {
      return "me.flyray.bsin.server.domain.SysMenu";
    }

    
    /**
     * 菜单id: MENU_ID
     */
    public java.lang.String getMenuId(){
         //onPropGet(PROP_ID_menuId);
         return _menuId;
    }

    /**
     * 菜单id: MENU_ID
     */
    public void setMenuId(java.lang.String value){
        this._menuId = value;
    }
    
    /**
     * 菜单编号: MENU_CODE
     */
    public java.lang.String getMenuCode(){
         //onPropGet(PROP_ID_menuCode);
         return _menuCode;
    }

    /**
     * 菜单编号: MENU_CODE
     */
    public void setMenuCode(java.lang.String value){
        this._menuCode = value;
    }
    
    /**
     * 菜单名称: MENU_NAME
     */
    public java.lang.String getMenuName(){
         //onPropGet(PROP_ID_menuName);
         return _menuName;
    }

    /**
     * 菜单名称: MENU_NAME
     */
    public void setMenuName(java.lang.String value){
        this._menuName = value;
    }
    
    /**
     * 菜单权限标识: PERMISSION
     */
    public java.lang.String getPermission(){
         //onPropGet(PROP_ID_permission);
         return _permission;
    }

    /**
     * 菜单权限标识: PERMISSION
     */
    public void setPermission(java.lang.String value){
        this._permission = value;
    }
    
    /**
     * 应用id: APP_ID
     */
    public java.lang.String getAppId(){
         //onPropGet(PROP_ID_appId);
         return _appId;
    }

    /**
     * 应用id: APP_ID
     */
    public void setAppId(java.lang.String value){
        this._appId = value;
    }
    
    /**
     * 前端URL: PATH
     */
    public java.lang.String getPath(){
         //onPropGet(PROP_ID_path);
         return _path;
    }

    /**
     * 前端URL: PATH
     */
    public void setPath(java.lang.String value){
        this._path = value;
    }
    
    /**
     * 父菜单编号(默认为-1): PARENT_ID
     */
    public java.lang.String getParentId(){
         //onPropGet(PROP_ID_parentId);
         return _parentId;
    }

    /**
     * 父菜单编号(默认为-1): PARENT_ID
     */
    public void setParentId(java.lang.String value){
        this._parentId = value;
    }
    
    /**
     * 菜单图标: ICON
     */
    public java.lang.String getIcon(){
         //onPropGet(PROP_ID_icon);
         return _icon;
    }

    /**
     * 菜单图标: ICON
     */
    public void setIcon(java.lang.String value){
        this._icon = value;
    }
    
    /**
     * 排序: SORT
     */
    public java.lang.Integer getSort(){
         //onPropGet(PROP_ID_sort);
         return _sort;
    }

    /**
     * 排序: SORT
     */
    public void setSort(java.lang.Integer value){
        this._sort = value;
    }
    
    /**
     * 菜单描述: REMARK
     */
    public java.lang.String getRemark(){
         //onPropGet(PROP_ID_remark);
         return _remark;
    }

    /**
     * 菜单描述: REMARK
     */
    public void setRemark(java.lang.String value){
        this._remark = value;
    }
    
    /**
     * 菜单状态 0、开启 1、禁用: STATUS
     */
    public java.lang.Integer getStatus(){
         //onPropGet(PROP_ID_status);
         return _status;
    }

    /**
     * 菜单状态 0、开启 1、禁用: STATUS
     */
    public void setStatus(java.lang.Integer value){
        this._status = value;
    }
    
    /**
     * 菜单类型 0、主菜单 1、菜单 2、按钮 99、模板菜单: TYPE
     */
    public java.lang.Integer getType(){
         //onPropGet(PROP_ID_type);
         return _type;
    }

    /**
     * 菜单类型 0、主菜单 1、菜单 2、按钮 99、模板菜单: TYPE
     */
    public void setType(java.lang.Integer value){
        this._type = value;
    }
    
    /**
     * 创建人: CREATE_BY
     */
    public java.lang.String getCreateBy(){
         //onPropGet(PROP_ID_createBy);
         return _createBy;
    }

    /**
     * 创建人: CREATE_BY
     */
    public void setCreateBy(java.lang.String value){
        this._createBy = value;
    }
    
    /**
     * 创建时间: CREATE_TIME
     */
    public java.time.LocalDateTime getCreateTime(){
         //onPropGet(PROP_ID_createTime);
         return _createTime;
    }

    /**
     * 创建时间: CREATE_TIME
     */
    public void setCreateTime(java.time.LocalDateTime value){
        this._createTime = value;
    }
    
    /**
     * 修改人: UPDATE_BY
     */
    public java.lang.String getUpdateBy(){
         //onPropGet(PROP_ID_updateBy);
         return _updateBy;
    }

    /**
     * 修改人: UPDATE_BY
     */
    public void setUpdateBy(java.lang.String value){
        this._updateBy = value;
    }
    
    /**
     * 修改时间: UPDATE_TIME
     */
    public java.time.LocalDateTime getUpdateTime(){
         //onPropGet(PROP_ID_updateTime);
         return _updateTime;
    }

    /**
     * 修改时间: UPDATE_TIME
     */
    public void setUpdateTime(java.time.LocalDateTime value){
        this._updateTime = value;
    }
    
    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public java.lang.Integer getDelFlag(){
         //onPropGet(PROP_ID_delFlag);
         return _delFlag;
    }

    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public void setDelFlag(java.lang.Integer value){
        this._delFlag = value;
    }
    
}
// resume CPD analysis - CPD-ON
